package com.risk.kernel.domain;

import com.risk.common.annotation.Excel;
import com.risk.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @author: Liwen
 * @createTime: 2024/12/1
 * @description:
 */
public class DsTripartiteAgreement extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 数据源id
     */
    @Excel(name = "数据源id")
    private String trId;

    /**
     * 进件标识
     */
    @Excel(name = "进件标识")
    private String appNo;

    /**
     * 归属模块（wg,hx,md）
     */
    @Excel(name = "归属模块", readConverterExp = "w=g,hx,md")
    private String modelName;

    /**
     * 数据源
     */
    @Excel(name = "数据源")
    private String appCode;

    /**
     * 响应报文
     */
    @Excel(name = "响应报文")
    private String repBody;

    /**
     * 响应状态(1:成功,2:失败)
     */
    @Excel(name = "响应状态(1:成功,2:失败)")
    private Integer repFlag;

    private Boolean isOpen;

    public void setIsOpen(boolean isOpen) {
        this.isOpen = isOpen;
    }

    public Boolean getIsOpen() {
        return isOpen;
    }

    public Long getId() {
        return id;
    }

    public void setTrId(String trId) {
        this.trId = trId;
    }

    public String getTrId() {
        return trId;
    }

    public void setAppNo(String appNo) {
        this.appNo = appNo;
    }

    public String getAppNo() {
        return appNo;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelName() {
        return modelName;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public String getAppCode() {
        return appCode;
    }

    public void setRepBody(String repBody) {
        this.repBody = repBody;
    }

    public String getRepBody() {
        return repBody;
    }

    public void setRepFlag(Integer repFlag) {
        this.repFlag = repFlag;
    }

    public Integer getRepFlag() {
        return repFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("trId", getTrId()).append("appNo", getAppNo()).append("modelName", getModelName()).append("appCode", getAppCode()).append("repBody", getRepBody()).append("repFlag", getRepFlag()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("updateTime", getUpdateTime()).append("isOpen", getIsOpen()).toString();
    }
}
